package com.tarena.lbs.business.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.param.UserLocationParam;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StoreService {
    void save(StoreParam param) throws BusinessException;

    List<StoreVO> selectList(StoreQuery query) throws BusinessException;

    List<StoreVO> selectByCityId(AreaStoreQuery query) throws BusinessException;

    boolean saveUserLocation(UserLocationParam param);
}
